package obj;

public class Student extends Person {
    private String id;
            public Student(){
            }

    public Student(String name, int age, String birthday, String id) {
        super(name, age, birthday);
        this.id = id;
    }

    public Student(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "Student{" +
                "id='" + id + '\'' +
                '}';
    }
}
